//---------------------------------------------------------------------------

#ifndef AKT_SVERH
#define AKT_SVERH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "cxButtons.hpp"
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxGroupBox.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "Shablon.h"
#include <ActnList.hpp>
#include <DBGrids.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
#include <Menus.hpp>
#include <DB.hpp>
#include "DBCtrlsEh.hpp"
#include <DBCtrls.hpp>
#include <Mask.hpp>
#include "DBAccess.hpp"
#include "IBC.hpp"
#include "MemDS.hpp"
//---------------------------------------------------------------------------
class TfrAKT_SVER : public TfrShablon
{
__published:	// IDE-managed Components
	TLabel *Label1;
	TLabel *Label2;
	TLabel *Label3;
	TLabel *Label4;
	TDBEdit *dbeNOM;
	TDBEdit *dbePOK_SH;
	TDBEdit *dbePRIM;
	TDBDateTimeEditEh *dtpDAT_SVER;
	TLabel *Label5;
	TDBLookupComboBox *cbSPOSOB_SN;
	TIBCQuery *dsetAKT_SVER;
	TIBCDataSource *dsAKT_SVER;
	void __fastcall FormKeyPress(TObject *Sender, char &Key);
	void __fastcall AddExecute(TObject *Sender);
	void __fastcall dtpDAT_SVERKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall dbePOK_SHKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall dbePRIMKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
	void __fastcall SaveExecute(TObject *Sender);
	void __fastcall FormShow(TObject *Sender);
	void __fastcall EditExecute(TObject *Sender);
	void __fastcall DBGrid1DblClick(TObject *Sender);
	void __fastcall DBGrid1KeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
	void __fastcall DeleteExecute(TObject *Sender);
	void __fastcall cbSPOSOB_SNClick(TObject *Sender);
private:	// User declarations
public:		// User declarations
int NOM;
	__fastcall TfrAKT_SVER(TComponent* Owner);
	void __fastcall TfrAKT_SVER::Obnovi();
};
//---------------------------------------------------------------------------
extern PACKAGE TfrAKT_SVER *frAKT_SVER;
//---------------------------------------------------------------------------
#endif
